package creational.factory;

public abstract class Product {
    private String brand;
    protected Product(String b){
        this.brand = b;
    }


    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    @Override
    public String toString() {
        return "Product{" +
                "brand='" + brand + '\'' +
                '}';
    }
}
